List of Input Parameters

The input parameters are listed as follows:

List of PLCopen function blocks with Execute

These FBs will initiate execution on the rising edgeClosedA rising edge is the transition of a digital signal from low to high. It is also called positive edge of 'Execute'. Execution will continue until completion independent of the 'Execute' value (or values) following initiation. Once execution is complete, the function block can be rearmed or reengaged by introducing another rising edge of 'Execute'.


  • Dual-Core limitation: Consecutive calls to the function block with repeating 'Execute' values within the same cycle will return an error code 76.
Function Block Description
MC_MoveAbsolute
MC_MoveRelative
MC_MoveAdditive
MC_MoveSuperimp
MC_MoveVelocity
MC_Halt
MC_CamIn
MC_CamOut
MC_GearIn
MC_GearOut
MC_GearInPos
A positive transition of this input requests to queue the move
MC_Phasing A positive transition of this input requests to queue the phase shift move
MC_SyncSlaves
MC_TouchProbe
MC_AbortTrigger
MC_SetPosition
A positive transition of this input causes this function block to execute
MC_WriteBoolPar
MC_WriteParam
A positive transition of this input writes the specified parameter
MC_Reference A positive transition of this input requests to queue the reference move and arm the reference trigger event(s)
MC_CamTblSelect A positive transition of this input reads and initializes the specified profile
MC_Stop A positive transition of this input initiates a stop move. While this input is held high, no other move can be queued for this axis

List of PLCopen function blocks with Enable

These FBs will continuously be executed every PLCClosed"Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events cycle, as long as the Enable remains high.

Function Block Description
MC_ReadBoolPar
MC_ReadParam
When this input is high, the specified parameter is read
MC_SetOverride When this input is high, the override factors is written
MC_ReadActPos  
MC_ReadActVel When this input is high, the axis's actual velocity is returned
MC_ReadAxisErr When this input is high, the axis's error status is returned
MC_ReadStatus When this input is high, the function block outputs is updated
MC_Power If this input is high and the drive is currently disabled, this function block requests to close the servo loop and enable the drive. If this input is low and the drive is currently enabled, this function block requests to open the servo loop and disable the drive

List of PLCopen functions with input parameter En

This is very similar to ENABLE on FunctionClosedA function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. blocks. But, as already explained in Difference between Functions and Function Blocks, functions are expected to complete in one cycle.

Function Description
MC_CreatePLCAxis When this input is high, a PLCopenClosedA vendor -and product- independent worldwide association active in Industrial Control and aiming at standardizing PLC file formats based on XML axis is created
MC_InitAxis When this input is high, the specified axis is initialized
MC_EStop When this input is high, an E-stop is generated for the specified axis
MC_ResetError When this input is high, the specified axis's errors is reset
MC_AddSuperAxis When this input is high, the specified axis is added to the superimposed axis list of the receiving axis.
MC_RemSuperAxis When this input is high, the specified axis is removed from the superimposed axis list for the specified receiving axis.